package com.zg.autoflow.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zg.autoflow.req.WorkflowInstanceReq;
import com.zg.autoflow.req.WorkflowStepDataReq;
import com.zg.autoflow.req.processListReq;
import com.zg.autoflow.vo.AutoflowMainPageVo;
import com.zg.autoflow.vo.SettleBizformPdfVo;
import com.zg.autoflow.vo.WorkflowInstanceVo;
import com.zg.common.core.R;
import com.zg.common.core.dao.autoflow.entity.SettleWorkflowInstance;

import java.util.List;

/**
* @author zg
*/
public interface SettleWorkflowInstanceService {
    /**
     * 创建实例的code
     * @return
     */
    String createInsCode();

    IPage<WorkflowInstanceVo> getTodoWorkflowInstancePage(Page<WorkflowInstanceVo> page, WorkflowInstanceReq settleWorkflowInstanceReq);

    List<SettleBizformPdfVo> getMainPdfList(WorkflowStepDataReq req);

    List<SettleBizformPdfVo> getFrontFlowList(WorkflowStepDataReq req);

    R getProcessList(processListReq jsonObject);
}
